package com.zxn.ssyx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zxn.ssyx.mapper.WareMapper;
import com.zxn.ssyx.model.sys.Ware;
import com.zxn.ssyx.service.WareService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WareServiceImpl extends ServiceImpl<WareMapper, Ware> implements WareService {
    @Autowired
    private WareMapper wareMapper;
    @Override
    public List<Ware> getAllList() {
        return wareMapper.selectList(null);
    }
}
